package cn.eeany.zutools.robot

import java.awt.*
import java.awt.event.KeyEvent

class HotKey {
    static def wifiNet() {
        Robot robot = new Robot();
        robot.keyPress(KeyEvent.VK_CONTROL)
        robot.keyPress(KeyEvent.VK_DECIMAL)
        sleep(1000)
        robot.keyRelease(KeyEvent.VK_DECIMAL)
        robot.keyRelease(KeyEvent.VK_CONTROL)
    }
}
